Update supported Python versions - #358
Conversation
2a85de7 to
25f1732
Compare
kytta
left a comment
There was a problem hiding this comment.
Since this PR was submitted, 3.15 rc1 came out, which means stable ABI and full feature freeze. I believe we can repurpose this PR to full on add (and explicitly declare) support for Python 3.15
note: I am a passing-by reviewer, not a maintainer
| matrix: | ||
| os: [ubuntu-latest, macOS-latest, windows-latest] | ||
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] | ||
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev"] |
There was a problem hiding this comment.
suggestion: Also test on 3.15t
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev"] | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15-dev", "3.15t-dev"] |
| @@ -32,5 +32,6 @@ | |||
| 'Programming Language :: Python :: 3.14', | |||
There was a problem hiding this comment.
suggestion: Also add 3.15 to the classifiers
| 'Programming Language :: Python :: 3.14', | |
| 'Programming Language :: Python :: 3.14', | |
| 'Programming Language :: Python :: 3.15', |
| @@ -23,8 +23,7 @@ jobs: | |||
| python-version: ${{ matrix.python-version }} | |||
There was a problem hiding this comment.
suggestion: Do not use -dev versions
When 3.15 officially comes out, we will have to adjust the workflow file again. A better approach would to allow prereleases in setup-python. If at least one stable version exists, it will not search for prereleases, meaning it will pull rc0 only for 3.15 until October, and stable 3.15 after Oct 1st.
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15", "3.15t"] | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: true |
This PR adds testing for Python 3.14t (free threaded build), Python 3.15 which entered beta yesterday, and drops support for Python 3.9 now that it's been dropped from Boto3/Botocore.